package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;

/**
 * 
 * @ClassName: MrqScoreDetailDTO  
 * @Description ：病案质控违规项扣分明细    
 * @Date: 2018年7月26日 下午3:37:54  
 * @Author QiaoYiLong 
 * @Version 3.1.1 DHC-DRG
 */
public class MrqScoreDetailDTO implements Serializable {

	private static final long serialVersionUID = -7777294644000640050L;

	//主键	
	private String id;

	//病例ID
	private String pmainIndex;
	
	//首页大类检查项目编码	
	private String scoreCode;

	//得分权重编码	
	private String weightCode;
	
	//得分项目编码	
	private String detailCode;
	
	//分数（扣分）
	private Double detailDeduction;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPmainIndex() {
		return pmainIndex;
	}

	public void setPmainIndex(String pmainIndex) {
		this.pmainIndex = pmainIndex;
	}

	public String getScoreCode() {
		return scoreCode;
	}

	public void setScoreCode(String scoreCode) {
		this.scoreCode = scoreCode;
	}

	public String getWeightCode() {
		return weightCode;
	}

	public void setWeightCode(String weightCode) {
		this.weightCode = weightCode;
	}

	public String getDetailCode() {
		return detailCode;
	}

	public void setDetailCode(String detailCode) {
		this.detailCode = detailCode;
	}

	public Double getDetailDeduction() {
		return detailDeduction;
	}

	public void setDetailDeduction(Double detailDeduction) {
		this.detailDeduction = detailDeduction;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MrqScoreDetailDTO other = (MrqScoreDetailDTO) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
}
